package test.demo.Result;

import com.sun.xml.internal.ws.developer.Serialization;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.jdbc.SQL;
import test.demo.Car;
import test.demo.Error.ErrorVO;
import test.demo.Exception.SQLException;

import java.util.List;

@Getter
@Setter
@AllArgsConstructor
@Serialization
@Data
public class layui {

    //操作成功（true）或者失败（false）
    private int code;

    //封装的数据对象，传入vo或者自定义的Exception类
    private List<Car> data;

    private String msg;

    private int count;


    public layui() {

    }
}
